From 1d732a1cde4263cc9f608d208592c68ee911120c Mon Sep 17 00:00:00 2001 From: =?utf8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Mon, 29 Jun 2015 10:13:26 +0200 Subject: [PATCH] Fix spelling errors --- debian/patches/fix_typos.patch | 93 ++++++++++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 94 insertions(+) create mode 100644 debian/patches/fix_typos.patch diff --git a/debian/patches/fix_typos.patch b/debian/patches/fix_typos.patch new file mode 100644 index 0000000..8f47ca2 --- /dev/null +++ b/debian/patches/fix_typos.patch @@ -0,0 +1,93 @@ +Description: Fix typos + fixes some spelling errors in the printout +Author: IOhannes m zmölnig +Forwarded: https://github.com/jcacerec/jacktrip/pull/17 +Last-Update: 2015-06-29 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- jacktrip.orig/src/Settings.cpp ++++ jacktrip/src/Settings.cpp +@@ -182,7 +182,7 @@ + else if ( atoi(optarg) == 32 ) { + mAudioBitResolution = AudioInterface::BIT32; } + else { +- std::cerr << "--bitres ERROR: Wrong bit resolutions: " ++ std::cerr << "--bitres ERROR: Wrong bit resolution: " + << atoi(optarg) << " is not supported." << endl; + printUsage(); + std::exit(1); } +@@ -190,7 +190,7 @@ + case 'q': + //------------------------------------------------------- + if ( atoi(optarg) <= 0 ) { +- std::cerr << "--queue ERROR: The queue has to be equal or greater that 2" << endl; ++ std::cerr << "--queue ERROR: The queue has to be equal or greater than 2" << endl; + printUsage(); + std::exit(1); } + else { +@@ -244,7 +244,7 @@ + case 'v': + //------------------------------------------------------- + cout << "JackTrip VERSION: " << gVersion << endl; +- cout << "Copyright (c) 2008-2009 Juan-Pablo Caceres, Chris Chafe." << endl; ++ cout << "Copyright (c) 2008-2015 Juan-Pablo Caceres, Chris Chafe." << endl; + cout << "SoundWIRE group at CCRMA, Stanford University" << endl; + cout << "" << endl; + std::exit(0); +@@ -265,11 +265,11 @@ + //---------------------------------------------------------------------------- + if (optind < argc) { + cout << gPrintSeparator << endl; +- cout << "WARINING: The following entered options have no effect" << endl; ++ cout << "WARINING: The following entered options have no effect." << endl; + cout << " They will be ignored!" << endl; +- cout << " Type jacktrip to see options." << endl; ++ cout << " Type 'jacktrip' to see options." << endl; + for( ; optind < argc; optind++) { +- printf("argument: %s\n", argv[optind]); ++ cout << "argument: " << argv[optind] << endl; + } + cout << gPrintSeparator << endl; + } +@@ -297,27 +297,27 @@ + cout << endl; + cout << "OPTIONAL ARGUMENTS: " << endl; + cout << "===================" << endl; +- cout << " -n, --numchannels # Number of Input and Output Channels (default " ++ cout << " -n, --numchannels # Number of Input and Output Channels (default: " + << 2 << ")" << endl; +- cout << " -q, --queue # (2 or more) Queue Buffer Length, in Packet Size (default " ++ cout << " -q, --queue # (2 or more) Queue Buffer Length, in Packet Size (default: " + << gDefaultQueueLength << ")" << endl; +- cout << " -r, --redundancy # (1 or more) Packet Redundancy to avoid glitches with packet losses (defaul 1)" ++ cout << " -r, --redundancy # (1 or more) Packet Redundancy to avoid glitches with packet losses (default: 1)" + << endl; + cout << " -o, --portoffset # Receiving port offset from base port " << gDefaultPort << endl; +- cout << " --bindport # Set only the bind port number (default to 4464)" << endl; +- cout << " --peerport # Set only the Peer port number (default to 4464)" << endl; +- cout << " -b, --bitres # (8, 16, 24, 32) Audio Bit Rate Resolutions (default 16)" << endl; +- cout << " -z, --zerounderrun Set buffer to zeros when underrun occurs (defaults to wavetable)" << endl; ++ cout << " --bindport # Set only the bind port number (default: 4464)" << endl; ++ cout << " --peerport # Set only the Peer port number (default: 4464)" << endl; ++ cout << " -b, --bitres # (8, 16, 24, 32) Audio Bit Rate Resolutions (default: 16)" << endl; ++ cout << " -z, --zerounderrun Set buffer to zeros when underrun occurs (default: wavetable)" << endl; + cout << " -l, --loopback Run in Loop-Back Mode" << endl; + cout << " -j, --jamlink Run in JamLink Mode (Connect to a JamLink Box)" << endl; +- cout << " --clientname Change default client name (default is JackTrip)" << endl; +- cout << " --localaddress Change default local host IP address (127.0.0.1)" << endl; ++ cout << " --clientname Change default client name (default: JackTrip)" << endl; ++ cout << " --localaddress Change default local host IP address (default: 127.0.0.1)" << endl; + cout << endl; +- cout << "ARGUMENTS TO USE IT WITHOUT JACK:" << endl; +- cout << "=================================" << endl; +- cout << " --rtaudio Use defaul sound system instead of Jack" << endl; +- cout << " --srate # Set the sampling rate, works on --rtaudio mode only (defaults 48000)" << endl; +- cout << " --bufsize # Set the buffer size, works on --rtaudio mode only (defaults 128)" << endl; ++ cout << "ARGUMENTS TO USE JACKTRIP WITHOUT JACK:" << endl; ++ cout << "=======================================" << endl; ++ cout << " --rtaudio Use system's default sound system instead of Jack" << endl; ++ cout << " --srate # Set the sampling rate, works on --rtaudio mode only (default: 48000)" << endl; ++ cout << " --bufsize # Set the buffer size, works on --rtaudio mode only (default: 128)" << endl; + cout << endl; + cout << "HELP ARGUMENTS: " << endl; + cout << "===============" << endl; diff --git a/debian/patches/series b/debian/patches/series index 9edc0c9..d06d6f2 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,3 +2,4 @@ system-rtaudio.patch rtaudio411.patch remove_sflogo.patch remove_datetime.patch +fix_typos.patch -- 2.30.2